﻿using Tpl.Domain.Efxt;

namespace Tpl.Domain.Entities
{
    /// <summary>
    /// 书名
    /// </summary>
    public class Book : AggregateRoot<long>
    {
        public string Name { get; set; }
        public double Price { get; set; }
        public string Publisher { get; set; }
        public string SN { get; set; } //图书序列号
        public string? AuthorId { get; set; }
        public virtual Author? Author { get; set; } //该书的作者
    }
}